Fixed help flag but and removed debug echo commands