added linux command line support