Added optional command-line arguments for snap utility