add .py extension to make_machine command