setup shebang, package app dir