Refactor script location