fixed linux related problem with libs
use aws module to parse user-data passed, works in bksh and the server
fixed str split