Added environment to catalog compiling