fixed setup script to correctly copy all files