Cloned script for Weekhout (make it generic)