Adding the correct path to static resources