Set up WP def environment