fixing the deploy script. and testing file reorg