Cleaning up powershell scripts
cleaning up Script path calculation