added hard-repl function
changed startup