add spec for bin scripts. update app template