Long flags and compatibility

Added long flags (—help) and dash compatibility