make resources relative to subdirectory of project, instead of /