removed binding of attributes, segfaults anyway
added command line options