fixed dev/production dir for loading files