used 'subprocess' module instead 'commands'