changing procfile to new main() method