Added detector simulation enviroment