added app folder as well as changed some perl scripts