Dependenciy and ScriptPath Fixes