Fix deplay script and clean up admin dir