halfhearted attempt to fix broken scripts and paths