main function added to both executables