fixed few errors in script
facility level finished