add rmnone func and hostname to ps1