Only parse args when executing as a script