added support for custom command line arguments like -s -d and mountpoint