Convert chrome-profile script to a proper shell script