changed input since it's ugly on mac
added permission actions