fixing fillresources.py script for production