fixing the main file to reference main resources