Fixed minor syntax
Fixed and finished script