fixed installing scripts from local files