moved more constraints to separate script