Updated to allow the including of static resources