Fixed an issue with the scripts when they were called outside of the scripts/ directory