release done but not working outside the erlang shell