fixing path scripts