Made isDev variable better, it checks for a folder that only exists in a dev env. :)