fixed logic that limits luminary to development env