Update file
Minor bugs fixed