Fixes the path for the script