Make this shit scriptable