improve production scripts