added a command to remove all but bin dir before publishing