# Changeing the location of \`external\_control.urscript\` leads to timeout of robot program

**URL:** <https://forum.universal-robots.com/t/changeing-the-location-of-external-control-urscript-leads-to-timeout-of-robot-program/32752>\
**Category:** ROS\
**Created:** [February 15, 2024, 9:55am UTC](https://forum.universal-robots.com/t/changeing-the-location-of-external-control-urscript-leads-to-timeout-of-robot-program/32752 "2024-02-15T09:55:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NotARobot](https://avatars.discourse-cdn.com/v4/letter/n/f19dbf/32.png) [@NotARobot](https://forum.universal-robots.com/u/NotARobot)\
**Post date:** [February 15, 2024, 9:55am UTC](https://forum.universal-robots.com/t/changeing-the-location-of-external-control-urscript-leads-to-timeout-of-robot-program/32752/1 "2024-02-15T09:55:38Z")

</div>

Greetings. When tinkering on another [problem](https://forum.universal-robots.com/t/external-control-gets-blocked-by-own-urscript/32733) I copied `external_control.urscript` form `ur_client_library` to one of my ROS packages, so I could modify it if it should be necessary. I now wanted to dry-run the external control and use the carbon copy as the script, but when doing that, the robot program gets stuck.

Teach panel message: `Program starts... Please wait...`

In the launch file I call

```auto
script_path = PathJoinSubstitution(
        [FindPackageShare(robot_description_package_name_lc),
         "resources",
         "external_control.urscript"])

```

instead of

```auto
 script_path = PathJoinSubstitution(
        [FindPackageShare("ur_client_library"),
         "resources",
         "external_control.urscript"])

```

The file is also installed correctly. There shouldn’t be a difference right?

I’ve also noticed that the package `ur_moveit_config` uses another urscript in `ur_moveit.launch.py`, could this be related?
