Job controller written in python