Moving resource files into resources dir, fixing permissions