fixed save resources
save resources ready for prod