Run with a php layout