added error handling for missing arguments
added pyc to ignore