fixed up the project to work with media outside