fixing some problems in package scripts and add info files