Adding changes. all of the things here are needed for supervisor to be able to execute correctly.