modified makefile and deployment script