"if the environment <> "development" then ### the stack is running NOT in the Rev IDE! ### do your stuff here end if" Thank you very much for your help, that was the solution ! Maxence BERNARD