Changed setup from bash to javascript