Start work on 'methodizing' scripts with exception catching. Formalise return values.