Correct gradient on inside of lock
Add configurable rest periods