added fs library and variables