made the build process sane
fixed the shit code