move long inline command to a script