using os.system for better process comunication with shell