Remove code from environment first to ensure proper deployment