updated scripts, not working yet, committing as server requires rebuild