Create cock & gather script + simplify variables used across scripts