Check that args exist before other stuff