thesis scripts