added the pause resource production flag to actions.js and main.js