1000 loc of script, why even leave it there for the night? were there rocket trajectory calculations??? I don't think so. should be ready in 5 mins tops. why people make their own lives harder?
You should have some basic context file about software practices you prefer, otherwise it gets bloated.