restructure scripts so that global are splited into user side and application/library side
done separating scripts on application side from user side