ensured that the resources went to right palces
everything but compiling.....