fixed my scheduler but it breaks after running one command haha