added linux dist dir and portable poly
fixed script to be runnable from anywhere