fixed function names
converted startup script to perl
removed bash startup script