added proper script and reverted one i accidentally wrote over