support for seperate resource directory