Copying resources into the envirment correctly!