Move 'then' keywords after the condition for better readability Remove useless directory change at the end of the script Move "cd neon" close to the related build calls