Adding small fix for commandline parameters -s and -e