Added config, restarting, and fixed square offsets