Renamed function

functions starts with fn_
Added init script