changed main function to actionshellcall()