modify app structure for ftp deployment