use 'temp' instead of 'build/temp' because script runs in 'build' folder