Cleaned up command line argument handling and added a small pause after the build command to avoid triggering on slow notifications